package com.skyline.energy.factory;

import java.util.Map;

import com.skyline.energy.annotation.MapperBy;
import com.skyline.energy.annotation.Param;
import com.skyline.energy.annotation.Query;
import com.skyline.energy.annotation.Unique;

public interface Dao {
	@Query("select * from photo where id=:map.id")
	@MapperBy(PhotoMapper.class)
	@Unique
	public Map<String, Object> getPhoto(@Param("map") Map<String, Long> map);
}
